package designpatterns.proxy.demo02;

/**
 * @author 真香
 * @create 2021-05-31 23:04
 */
public class Client {

    public static void main(String[] args){


        UserServiceImpl userService = new UserServiceImpl();
        // userService.add();

        UserServiceProxy proxy = new UserServiceProxy();
        proxy.setUserService(userService);
        proxy.add();

    }


}
